package com.cn.kehong.utils;

import com.google.common.collect.Lists;

import java.util.List;

public class Constants {

    public final static String NORMAL_STATUS = "0";

    public final static String DEL_STATUS = "-1";

    //db 操作
    public final static String INSERT_NONE = "无法插入或者更新数据";

    public final static String INSERT_ERROR = "插入或者更新数据失败";

    public final static List<String> WHITELIST = Lists.newArrayList("/","/login/doLogin","/login/loginOut","/index","/role/queryRolePermission","/sysInfo/getSysInfoList","/file/queryFileList","/dwfile/downloadFile","/dwfile/downloadMaterialTempFile","/dwfile/downloadDeviceTempFile","/deviceItem/exportDeviceContentExcel");

    public final static String DIST = "/dist/";
    public final static String API_URL = "/api/";
    public final static String FIRST_URL = "/firstPage/";

    public final static String DOWNLOAD_URL = "/download/";

    //员工使用在职状态 包括试用期在职和合格在职
    public final static List<String> ONBARDINGSTATUS_WORKING = Lists.newArrayList("0","1");

}
